package cn.sytton.taffe.framework.properties.auth;

import java.util.HashSet;
import java.util.Set;

/**
 * yml配置类：auth.api
 *
 * @author skyrock
 */
public class ApiProperties {
    /**
     * 允许匿名请求的api
     */
    private Set<String> anonymous = new HashSet<>();
    /**
     * 无权限控制的api,包括匿名访问
     */
    private Set<String> permitAll = new HashSet<>();

    public Set<String> getAnonymous() {
        return anonymous;
    }

    public void setAnonymous(Set<String> anonymous) {
        this.anonymous = anonymous;
    }

    public Set<String> getPermitAll() {
        return permitAll;
    }

    public void setPermitAll(Set<String> permitAll) {
        this.permitAll = permitAll;
    }
}
